How to create a calculated field in a query.





Open the query in Design view then select the 'View' menu and select 'Totals'.

    1) If the Database window is not active, activate the Database window.
    2) Choose the 'Queries' tab in the Database window.
    < Queries tab >
    3) Select the desired query from the list. (The query becomes highlighted.)
    4) Choose the 'Design' button. (The query opens in Design view.)
    5) Select the 'View' menu and select 'Totals'. (The Totals row appears in the query design grid.)
    < Totals row >
    6) Click in the 'Total' row of the first field for which to calculate a total. (A down arrow appears.)
    7) Click on the arrow. (A drop-down list appears.)
    8) Select the desired function from the 'Total' drop-down list.
    NOTE: The choices are 'Group By', 'Sum', 'Avg', 'Min', 'Max', 'Count', 'StDev', 'Var' 'First', 'Last', 'Expression', and 'Where'.


Knowledge-Pak Desktop Suite (TM) Edition 5
Copyright (c) 1994-1997 by ServiceWare Inc. Subject to the terms set forth in the end-user license agreement. All rights reserved.



2nd Opinion copyright © 1997 by McAfee Associates.
Subject to the terms set forth in the end-user license agreement. All rights reserved.